package com.algorithm.lesson_05;

public class Pet {

	public static final String TYPE_DOG = "dog";
	public static final String TYPE_CAT = "cat";

	private String type;
	private String name;

	public Pet(String type, String name) {
		this.type = type;
		this.name = name;
	}

	public String getPetType() {
		return type;
	}

	public String getName() {
		return name;
	}

	@Override
	public String toString() {
		return type + ":" + name;
	}
}
